<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/6/9
  Time: 10:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
  <title>this is Add pager!</title>
  <style>
    body{
      background-image:url(../../resources/image/6.jpg)
    }
    html{
      font-family: 微软雅黑;
    }
    a{
      text-decoration: none;
      color:#000;
      font-size: 20px;
    }
    form{
      margin-left: 600px;
      margin-top: 150px;
    }

    input{
      height:35px;
      font-size: 20px;
      color:#2e432b;
      font-family: 微软雅黑;
    }
  </style>
</head>
<body>

<sf:form method="post" modelAttribute="user" action="/user/add">
  <table cellpadding="10">
    <tr>
      <th>学生姓名</th>
      <th> <sf:input type="text" path="username"/></th>
    </tr>
    <tr>
      <th>密码</th>
      <th><sf:input type="password" path="password"/></th>
    </tr>
    <tr>
      <th>个人简介</th>
      <th><sf:input type="text" path="description" /></th>
    </tr>
  </table>

  <input type="submit" name="submit" value="添加" style="width:100px;height:30px;background-color:lightseagreen;border:none;margin-left: 50px;color: #fff"/>
  <span style="width:100px;height:30px;display: inline-block;margin-left: 30px;text-align: center;line-height: 30px;background-color:palevioletred;"><a href="/user/users">返回</a></span>
</sf:form>
</body>
</html>

